package com.artisan.plugin;

import org.pf4j.Plugin;
import org.pf4j.PluginWrapper;

/**
 * 问候插件主类
 * 继承自PF4J的Plugin基类
 */
public class GreetingPlugin extends Plugin {

    public GreetingPlugin(PluginWrapper wrapper) {
        super(wrapper);
    }

    @Override
    public void start() {
        System.out.println("🚀 GreetingPlugin started! Plugin ID: " + wrapper.getPluginId());
    }

    @Override
    public void stop() {
        System.out.println("🛑 GreetingPlugin stopped! Plugin ID: " + wrapper.getPluginId());
    }
}
